Skip to content

Conversation

usuyus
Copy link

@usuyus usuyus commented Aug 14, 2025

If a function tail calls another function with a different number of arguments, LLVM will complain about this. However, this is permitted to happen in OCaml via caml_apply - see tail_call_outside in tailcall.ml under Llvmize tests in oxcaml/oxcaml#4507. This PR skips that check for OCaml functions.

@usuyus usuyus merged commit 2db858f into ocaml-flambda:llvmize-oxcaml Aug 15, 2025
@usuyus usuyus deleted the oxcaml-tailcall branch August 22, 2025 19:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants